home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
STRREM.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
962b
|
42 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_StrRem( cString, cRemove ) --> cString
PARAMETERS:
cString : String to Remove Characters from
cRemove : String to Remove
SHORT:
Remove characters from a string wherever they occur.
DESCRIPTION:
_StrRem() removes one string from another, wherever it first occurs.
NOTE:
EXAMPLE:
String1 = 'THIS IS NOT A STRING"
String2 = _StrRem(String1," NOT")
Result: String2 = "THIS IS A STRING"
The following example will effectively remove ALL "A"'s from the string:
String1 = "A BIRD IN THE HAND IS..."
while String1 != _StrRem(String1,'A') ; end
Result: When the loop exits, String1 will be "A BRD N THE HAND S..."
******************************************************************************/